#pragma once


#include "MyMultiDocTemplate.h"
typedef CMyMultiDocTemplate* (* FILYDOCTEMPLATE)() ;
//typedef int (* UPDATERIBBONTAB)() ;

class XTREMEFRAMEPRODLLEXPORT CDocumentsWrapper
{
public:
	CDocumentsWrapper(CString filename = _T(""));
	virtual ~CDocumentsWrapper(void);

	bool		LoadDLL(CString filename) ;
	bool		FreeDLL() ;
	// member vars
	CString			m_FileName;		// filename of DLL
	HINSTANCE		m_DLLhInstance ;// pointer to Instance of DLL
public:
	// function pointers
	// document template support
	FILYDOCTEMPLATE		FilyDocumentTemplate ;
	//UPDATERIBBONTAB		FilyUpdateRibbonTab ;
public:
	// GetMyMultiDocTemplate
	CMyMultiDocTemplate* GetMyMultiDocTemplate(void);
	// GetRibbonTabShow
	//int GetRibbonTabShow(void);
	CString GetFileName(void);
};

